Sellkit\Blocks\Helpers\Smart_Coupon\Helper C

Total Complexity 102
Dependencies 2
Dependents 0
Total lines 388
Lines of code 262
Logical lines of code 172
Comment lines 57
Methods 8
Properties 0

Methods 8

Method Rating Maintainability Complexity Lines of code
maybe_update_coupon()
D
29
48 102
create_coupons()
C
36 28 66
get_rule_by_conditions()
A
42 14 49
get_expiration_time()
S
60 5 13
check_coupon()
S
59 3 14
get_coupon()
S
64 2 9
__construct()
S
70 1 6
generate_coupon_code()
S
78 1 3